Character FontName

Gets or sets the font name of the character.

public string FontName {get;Set}

 

Return value

string Name of the font used.

 

Example

Copy
TextShape text = new TextShape();

Character character = new Character();

character.CharacterUnicode = 'A';
character.Height = 5;

character.FontName = "Arial";

character.FontStyle = FontStyle.Regular;

text.Characters.Add(character);